package test

class Department {
	String name
	//Organization inorganization
	static hasMany = [projects: Project]
	static belongsTo = [organization:Organization];
	static constraints = {
		name(blank: false)
		//inorganization(blank: false)
    }
	String toString(){
		return name
	}

    static mapping = {
        version false
    }
}
